﻿namespace LogManager.Core.Models
{
    using LogManager.Utils.ChangeTracking;
    using System.ComponentModel;
    using System.Xml.Linq;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public abstract class XmlElementBase : DependPropertyChangeBase, IXmlElement
    {
        public XElement BaseNode { get; private set; }

        public XmlElementBase(XElement baseNode)
        {
            this.BaseNode = baseNode;
        }

        public abstract void SaveChanges();
    }
}
